package com.finance.model.msg.dto;

import org.springframework.stereotype.Component;

/**
 * @Author: Apollo
 * @Date: 2021/4/17
 * @Description: 消息请求DTO
 */
@Component
public class MessageRequestDto {

    private String mobile;

    private String param;

    private String tpl_id;


    public static final String COL_MOBILE = "mobile";

    public static final String COL_PARAM = "param";

    public static final String COL_TPL_ID = "tpl_id";

    /**
     * 服务接口的url路径
     */
    public static final String SERVICE_URL = "http://dingxin.market.alicloudapi.com/dx/sendSms";

    /**
     * 授权
     */
    public static final String AUTHORIZATION_HEADER_KEY = "Authorization";

    /**
     * app code在头里携带的前缀
     */
    public static final String APP_CODE_PRE = "APPCODE ";

    /**
     * 申请的app code
     */
    public static final String APP_CODE = "d830932cba254487a489b4d86b7b8871";


    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getTpl_id() {
        return tpl_id;
    }

    public void setTpl_id(String tpl_id) {
        this.tpl_id = tpl_id;
    }

    public static String getColMobile() {
        return COL_MOBILE;
    }

    public static String getColParam() {
        return COL_PARAM;
    }

    public static String getColTplId() {
        return COL_TPL_ID;
    }

    public static String getServiceUrl() {
        return SERVICE_URL;
    }

    public static String getAuthorizationHeaderKey() {
        return AUTHORIZATION_HEADER_KEY;
    }

    public static String getAppCodePre() {
        return APP_CODE_PRE;
    }

    public static String getAppCode() {
        return APP_CODE;
    }
}
